package com.tanjie.blackbean.pojo.auth;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author tanjie
 * @since 2021-11-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserInfoWithRolesAndPerms extends UserInfo implements Serializable {

    private static final long serialVersionUID = -5135800610394544442L;

    private List<Role> roles = new ArrayList<>();

    private List<Permission> permissions = new ArrayList<>();

}
